package com.oydsoft.common.model.response;

import lombok.ToString;

/**
 * @version 1.0
 * @Description TODO
 * @Author wangj
 * @Date 2020/7/23 16:12
 **/
@ToString
public class QueryResponseResult<T> extends ResponseResult {

    QueryResult<T> queryResult;

    public QueryResponseResult(ResultCode resultCode,QueryResult queryResult){
        super(resultCode);
       this.queryResult = queryResult;
    }

    public QueryResult<T> getQueryResult() {
        return queryResult;
    }

    public void setQueryResult(QueryResult<T> queryResult) {
        this.queryResult = queryResult;
    }
}
